package com.iweb.user.service;

import com.iweb.user.dao.UserShowsMapper;
import com.iweb.user.model.Show;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;

@Service
public class UserShowsServiceImpl implements UserShowsService {

    @Autowired
    private UserShowsMapper userShowsMapper;

    @Override
    public List<Show> selectAllShows() {
        return userShowsMapper.selectAllShows();
    }

    @Override
    public Show selectShowById(int showId) {
        return userShowsMapper.selectShowById(showId);
    }
}